Skip to content

fix: 1147 - notify comment author when someone reacts - #1161

Merged
leahpeker merged 2 commits into
mainfrom
fix-1147-comment-reaction-notification
Jul 24, 2026
Merged

fix: 1147 - notify comment author when someone reacts#1161
leahpeker merged 2 commits into
mainfrom
fix-1147-comment-reaction-notification

Conversation

@leahpeker

Copy link
Copy Markdown
Collaborator

Overview

Reacting to a comment on an event didn't notify the comment's author — the only comment-related notifications were for new top-level comments and replies. This adds a comment_reaction notification type, fired when a reaction is added (not removed) to a comment, excluding self-reactions.

Closes #1147

Test plan

  • backend: test_reaction_notifies_comment_author, test_self_reaction_does_not_notify, test_removing_reaction_does_not_notify in backend/tests/test_event_comments.py
  • make agent-lint, make agent-typecheck (backend)
  • frontend eslint/prettier/tsc on touched files, existing notification-bell frontend tests pass
  • manual: react to another member's event comment and confirm the bell fires; react to your own comment and confirm it doesn't

Adds a comment_reaction notification type that fires when someone
reacts to a comment you authored, distinct from the existing
event_comment/comment_reply notifications. Self-reactions and
reaction removal (untoggle) don't notify.
Move TestReactionToggle out to test_event_comment_reactions.py.
test_event_comments.py was 562 lines, over the agent-complexity
hard limit.
@leahpeker
leahpeker marked this pull request as ready for review July 24, 2026 22:06
@leahpeker
leahpeker merged commit 49fc68e into main Jul 24, 2026
3 checks passed
@leahpeker
leahpeker deleted the fix-1147-comment-reaction-notification branch July 24, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Didn’t get a notification that someone reacted to my comment

1 participant